﻿#include<iostream>
#include"hstring.h"
int main() {
	hstring str = "hello";
	if (str[2] == hstring_no_char) {
		std::cout << 13 << std::endl;
	}
	std::cout << str[1];
	std::cout << str << std::endl;

	hstring strAry[10];
	strAry[1] = str;
	std::cout << strAry[1][1] << std::endl;

	char* s = new char[12];
	s = (char*)"asdf";
	char* s1 = s;
	std::cout << s << std::endl;
	std::cout << s1 << std::endl;
	s = new char[13];
	std::cout << (char)(s + 4) << std::endl;
	std::cout << (char)(s1 + 4) << std::endl;
	std::cout << &(s1[1]) << std::endl;
}